Draft
Conversation
48dc0a3 to
5ac09e3
Compare
35a57c8 to
9fde866
Compare
This starts us down the path of using Active Job, which is the preferred mechanism for jobs in Rails 7.1. Signed-off-by: jonathan.kerr <3410350+jonodrew@users.noreply.github.com>
I've taken the copy from Kimberly and put it into HTML, as we do with the rest of our emails Signed-off-by: jonathan.kerr <3410350+jonodrew@users.noreply.github.com>
This adds an additional method to the MemberMailer class. It's currently called #chaser and it sends...the chaser email. In the next commit I'll call it from a Job, or maybe a Service that's called from a Job Signed-off-by: jonathan.kerr <3410350+jonodrew@users.noreply.github.com>
This is the setup required for using ActiveJob and its queue, and checking if things were enqueued. Signed-off-by: jonathan.kerr <3410350+jonodrew@users.noreply.github.com>
This was an oversight when creating the related table, and fixes it Signed-off-by: jonathan.kerr <3410350+jonodrew@users.noreply.github.com>
This outlines a single test for sending the chaser email. It also creates the relevant Job and Service. When users haven't attended a workshop they were invited to in the last three months _and_ haven't already been chased, they'll be sent a follow up email Signed-off-by: jonathan.kerr <3410350+jonodrew@users.noreply.github.com>
9fde866 to
8c8f601
Compare
Contributor
Author
|
Alright, code mostly written. Now just need to figure out how to set it to be run on a regular basis |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Draft application code - welcome to look, but not ready yet